﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.HttpRequestMonitor.Core.Abstracts
{
    /// <summary>
    /// 监控规则实体模型接口
    /// </summary>
    public interface IMonitorRuleModel
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 规则名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 规则描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 规则已经应用的节点
        /// </summary>
        public IList<string> Nodes { get; set; }

        /// <summary>
        /// 规则的所有监控
        /// </summary>
        public IList<IMonitorModel> Monitors { get; set; }

        /// <summary>
        /// 邮箱通知列表
        /// </summary>
        public IList<string> NotificationEmails { get; set; }

        /// <summary>
        /// 通知的电话列表
        /// </summary>
        public IList<string> NotificationPhoneNumbers { get; set; }
    }
}
